@charset "utf-8";
$font-size: 64px;
@function r($px) {
    @return $px/$font-size*1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {text-decoration: none;}
li {list-style: none;}
.fl{float: left;}
.fr{float: right;}
.clear{clear: both;}
.web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: r(90px);
        background: #b20000;
        display: flex;
        justify-content: space-between;
        .menu_btn {
            margin-left: 8px;
            line-height: r(80px);
            .icon-view-list {
                color: white;
                font-size: 0.7rem;
            }
        }
        .logo {
            line-height: r(84px);
            img {
                width: r(264px);
                height: r(40px);
                padding-bottom: r(10px);
            }
        }
        .search {
            width: r(40px);
            height: r(40px);
            border: 1px solid #fff;
            border-radius: 50%;
            position: relative;
            margin-top: 0.3rem;
            margin-right: 0.2rem;
            line-height: r(42px);
            .icon-sousuo {
                color: white;
                font-size: 0.5rem;
                position: absolute;
                left: 0.05rem;
            }
        }
    }
//个人页===================================================
    .menu {
        width: 100%;
        height: 100%;
        background: #1e1e1e;
        position: absolute;
        top: 0;
        left: -100%;
        transition: all .3s ease-in;
        overflow-y: auto;
        .menu_top {
            width: 100%;
            height: r(86px);
            padding-top: r(18px);
            .menu_close {
                width: r(50px);
                height: r(50px);
                line-height: 0;
                margin-left: r(12px);
                img {
                    width: r(50px);
                    height: r(50px);
                }
            }
        }
        .menu_line {
            border: 1px solid #454545;
            margin-left: 7px;
            margin-right: 7px;
        }
        .percen {
            padding-top: 35px;
            padding-bottom: 59px;
            width: 100%;
            text-align: center;
            border-bottom: 12px solid #2c2c2c;
            .port {
                width: 65px;
                height: 65px;
                margin: 16px auto;
                margin-bottom: 7px;
                border-radius: 50%;
                background: #ffffff;
                position: relative;
                background-size: 100%;
                .pic_port {
                    width: 100%;
                    height: 100%;
                    border-radius: 50%;
                    position: relative;
                    overflow: hidden;
                    img {
                        position: absolute;
                        margin-left: -50%;
                        height: 100%;
                    }
                }
            }
            a {
                display: block;
                font-family: "宋体";
                font-size: 16px;
                color: white;
                &:hover{
                    -webkit-tap-highlight-color: transparent;
                }
            }
        }
        .sort_pro {
            margin: 0 15px;
            .gimc {
                width: 100%;
                display: block;
                position: relative;
                border-bottom: 1px solid #2c2c2c;
                cursor: pointer;
                font-size: 16px;
                &:active{
                    -webkit-tap-highlight-color: transparent;
                }
                p {
                    display: block;
                    font-size: 14px;
                    color: #7d7d7d;
                    line-height: 20px;
                    margin-top: 14px;
                    
                }
                span {
                    display: block;
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 10px;
                    height: 10px;
                    line-height: 10px;
                    img {
                        height: 100%;
                    }
                }
                .down {
                    transform: rotate(90deg);
                }
            }
            .drop_down {
                display: none;
                a {
                    margin: 14px 59px;
                    font-size: 12px;
                    text-align: center;
                    color: #ffffff;
                    display: block;
                    cursor: pointer;
                }
                .line {
                    border-bottom: 1px solid #2e2d2d;
                }
            }
        }
    }
//============================================================
//搜索页================================================
    .search_page {
        width: 100%;
        height: 100%;
        background: #f1f1f1;
        position: absolute;
        top: -100%;
        left: 0;
        transition: all 0.2s ease-in;
        .s_top {
            height: 43px;
            background: #1d1d1d;
            padding-top: 9px;
            font-size: 16px;
            .s_close {
                float: left;
                width: 25px;
                height: 25px;
                line-height: 0px;
                margin-left: 6px;
                img {
                    height: 100%;
                }
            }
            .s_input {
                height: 28px;
                border: 2px solid #ffffff;
                border-radius: 12px;
                margin-left: 43px;
                margin-right: 9px;
                button {
                    border: none;
                    background: #1d1d1d;
                    margin-left: 6px;
                    margin-top: 5px;
                    float: left;
                    outline: none;
                    i {
                        color: white;
                    }
                }
                input {
                    width: 86%;
                    padding-left: 12px;
                    display: block;
                    height: 24px;
                    line-height: 24px;
                    font-size: 13px;
                    color: #ffffff;
                    border: none;
                    background: transparent;
                    outline: none;
                }
            }
        }
        .s_keyword {
            margin: 16px 15px;
            margin-right: 0;
            h1 {
                font-size: 13px;
                color: #211d1d;
                margin-bottom: 8px;
            }
            .keyword {
                margin-right: 4px;
                margin-bottom: 5px;
                border: 1px solid #e4e4e4;
                font-size: 15px;
                padding: 6px 9px;
                color: #8B8B8B;
                float: left;
            }
            .active {
                background: #FF0000;
                color: white;
            }
            .keyword:active {
                background: #FF0000;
                color: white;
            }
        }
    }
//轮播图=================================================
    .content {
        position: absolute;
        top: r(90px);
        left: 0;
        width: 100%;
        height: 92%;
        overflow-x: hidden;
        overflow-y: auto;
        padding-bottom: r(95px);
        .swiper-container {
            width: 100%;
//          height: r(356px);
            height: 37%;
            z-index: 0;
            .swiper-slide {
                text-align: center;
                font-size: 18px;
                position: relative;
                img{
                    width: 100%;
                }
                .nav_down{
                    width: 100%;
                    height: 60px;
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    background: rgba(0,0,0,.3);
                    a{
                        width: 95%;
                        margin: 5px auto;
                        font-size: 16px;
                        color:#fff;
                        text-align: left;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        -webkit-box-orient: vertical
                    }
                    .nav_shade{
                        width: 95%;
                        margin: 0 auto;
                        overflow: hidden;
                        vertical-align: middle;
                        line-height: 16px;
                        .nav_l{
                            float: left;
                            font-size: 12px;
                            color: white;
                            span{
                                display: inline-block;
                                margin-right: 3px;
                                background-size: 100%100%;
                                i{
                                    font-size: 16px;
                                    color: #fff;
                                }
                            } 
                        }
                        .nav_r{
                            float: right;
                            font-size: 12px;
                            color: white;
                            span{
                                margin-left: 3px;
                            }
                        }
                    }
                    
                     
                }
            }
        }
        .underline{
            width: 100%;
            border: 1px solid #cecece;
            margin-top: 5px;
            margin-bottom: 10px;
        }
        .col-last{
            text-align: center;
            font-size: 16px;
            padding-bottom: r(10px);
            margin-bottom: r(30px);
            a{
                color: #bbb;
            }
            
        }
    }
    
//==底部选项栏==================================================
    footer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: r(95px);
        background: #f5f5f5;
        border-top: 1px solid #bbb9ba;
        .menu_foot {
            float: left;
            width: 19.5%;
            .submenu {
                margin: 5px auto;
                text-align: center;
                a {
                    &:hover{
                        -webkit-tap-highlight-color: transparent;
                    }
                    span {
                        margin: 0 auto;
                        display: block;
                        width: r(72px);
                        height: r(48px);
                        line-height: 24px;
                        img {
                            height: 100%;
                        }
                    }
                    p {
                        //                      padding-right: r(12px);
                        text-align: center;
                        font-size: 15px;
                        color: #8b8b8b;
                    }
                    .red{
                        color: #b20000;  
                    }
                }
            }
        }
        .m-line {
            height: 25px;
            border-left: 1px solid #ebebeb;
            margin-top: 14px;
            float: left;
        }
    }
}

//登录页======================================================
.login {
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    overflow-y: auto;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
    display: none;
    .logo_common {
        width: 120px;
        height: 99px;
        background: url(../img/common_logo.png) no-repeat center;
        background-size: 90%;
        margin: 30px auto;
        margin-bottom: 30px;
    }
    .user,
    .password {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 16px;
        .yhu,
        .passw {
            float: left;
            width: 20%;
            height: 39px;
            background-color: #303030;
            i {
                display: block;
                text-align: center;
                margin: 0 auto;
                width: 45px;
                height: 39px;
                font-size: 28px;
                color: #d1d1d1;
                line-height: 39px;
            }
        }
        .user_input {
            width: 80%;
            height: 39px;
            background: #3d3d3d;
            text-align: center;
            overflow: hidden;
            font-size: 16px;
            input {
                width: 80%;
                height: 100%;
                border: none;
                font-size: 16px;
                color: #cdcdcd;
                background: none;
                outline: none;
                &::-webkit-input-placeholder {
                    font-size: 12px;
                }
            }
        }
    }
    .forget {
        width: 80%;
        height: 21px;
        margin: 0 auto;
        line-height: 22px;
        overflow: hidden;
        i {
            display: block;
            float: right;
            color: #d1d1d1;
        }
        p {
            float: right;
            font-size: 16px;
            color: white;
        }
    }
    button {
        display: block;
        width: 240px;
        height: 39px;
        margin: 0 auto;
        margin-top: 27px;
        font-size: 16px;
        color: #cdcdcd;
        border: 0 none;
        outline: none;
    }
    .btn_login {
        background: #b60005;
    }
    .btn_register {
        background: #303030;
        margin-top: 14px;
        border: 1px solid #b60005
    }
}

//====================================
//个人中心页===============================================
.profile {
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    overflow-y: auto;
    position: absolute;
    top: 0;
    display: none;
    transition: all .3s ease-in;
    .menu_top {
        width: 100%;
        height: r(86px);
        padding-top: r(18px);
        .pro_close {
            width: r(50px);
            height: r(50px);
            line-height: 0;
            margin-left: r(12px);
            img {
                width: r(50px);
                height: r(50px);
            }
        }
    }
    .menu_line {
        border: 1px solid #454545;
        margin-left: 7px;
        margin-right: 7px;
    }
    .percen {
        width: 100%;
        text-align: center;
        border-bottom: 12px solid #2c2c2c;
        .port {
            width: 65px;
            height: 65px;
            margin: 16px auto;
            margin-bottom: 7px;
            border-radius: 50%;
            background: #ffffff;
            overflow: hidden;
            .pic_port {
                width: 100%;
                height: 100%;
                border-radius: 50%;
                overflow: hidden;
                position: relative;
                
                img {
                    position: absolute;
                    margin-left: -50%;
                    height: 100%;
                }
            }
        }
        .mes_per {
            font-size: 16px;
            li {
                margin-top: 2px;
                text-align: center;
                span {
                    font-family: "宋体";
                    font-size: 18px;
                    color: white;
                    margin: 0 5px;
                    vertical-align: middle;
                }
                button {
                    width: 90px;
                    height: 20px;
                    border: 1px solid #ffffff;
                    line-height: 10px;
                    background: none;
                    font-size: 12px;
                    color: #ffffff;
                }
                .star {
                    display: inline-block;
                    width: 18px;
                    height: 16px;
                    img {
                        width: 100%;
                    }
                }
                p {
                    font-size: 12px;
                    color: #d4d4d4;
                    a {
                        color: #af0206;
                    }
                }
                .sc {
                    width: 110px;
                    height: 26px;
                    border: none;
                    border-radius: 13px;
                    color: #ffffff;
                    font-size: 12px;
                    line-height: 12px;
                    margin-top: 10px;
                    margin-bottom: 10px;
                    background: #b60005;
                    outline: none;
                }
                .fb {
                    width: 110px;
                    height: 26px;
                    border: none;
                    border-radius: 13px;
                    color: #ffffff;
                    font-size: 12px;
                    line-height: 12px;
                    margin-top: 10px;
                    margin-bottom: 10px;
                    background: #cdcdcd;
                    outline: none;
                }
            }
        }
    }
    .sort_pro {
        margin: 0 15px;
        .gimc {
            width: 100%;
            display: block;
            position: relative;
            border-bottom: 1px solid #2c2c2c;
            cursor: pointer;
            font-size: 16px;
            &:active{
                -webkit-tap-highlight-color: transparent;
            }
            p {
                display: block;
                font-size: 14px;
                color: #7d7d7d;
                line-height: 20px;
                margin-top: 14px;
            }
            span {
                display: block;
                position: absolute;
                top: 0;
                right: 0;
                width: 10px;
                height: 10px;
                line-height: 10px;
                img {
                    height: 100%;
                }
            }
            .down {
                transform: rotate(90deg);
            }
        }
        .drop_down {
            display: none;
            a {
                margin: 14px 59px;
                font-size: 12px;
                text-align: center;
                color: #ffffff;
                display: block;
                cursor: pointer;
            }
            .line {
                border-bottom: 1px solid #2e2d2d;
            }
        }
    }
    .exit {
        font-size: 16px;
        margin: 21px auto;
        margin-bottom: 0px;
        text-align: center;
        button {
            width: 89px;
            height: 25px;
            border-radius: 12px;
            font-size: 12px;
            letter-spacing: 5px;
            color: #FFFFFF;
            background: #b60005;
            border: 0 none;
            outline: none;
        }
    }
}

//======================================================